package com.qs.rocketmq.nacos.config;

import com.qs.rocketmq.nacos.config.rule.MyTestRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyRandomRule {

//    @Bean
//    public RandomRule randomRule(){
//        return new RandomRule();
//    }

    @Bean
    public MyTestRule myTestRule(){
        return new MyTestRule();
    }
}
